<?php
my_component_load('testing' , false);
my_component_load('paging' , false); 
my_component_load('data_setting', false);
my_component_load('grade' );
$task = isset($_GET['task']) ? $_GET['task'] : ""; 
$id = isset( $_GET['id'] ) ? $_GET['id']:  0;
$modulname = "Admin _BN_ Konfigurasi Data";

	if($task == "editgrade"){
		form_grade_create();
		my_direct('index.php?com=grade');
	}elseif($task == 'delete'){ // DELETE ITEM	
		delete_grade($id);
		my_direct('index.php?com=grade');
	}else{
		$pagename = 'Grade'; 
		load_facebox_script();
		$view =  list_grade(); 
	}

$content = spliter_browser( $view , $pagename);
generate_my_web($content, $modulname." _BN_ Grade" );
?>